package com.ruoyi.mes.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 加工单（员工）对象 mes_work_workers
 * 
 * @author ruoyi
 * @date 2021-12-13
 */
public class MesWorkWorkers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String mesWorkWorkerUuid;

    /** 加工单外键 */
    @Excel(name = "加工单外键")
    private String fkMesWorkUuid;

    /** 排序序号 */
    @Excel(name = "排序序号")
    private String orderNum;

    /** 员工ID（外键） */
    @Excel(name = "员工ID", readConverterExp = "外=键")
    private String fkUserIdWorker;
    private String workerName;

    /** 工时 */
    @Excel(name = "工时")
    private BigDecimal quotaWorkingHours;

    public String getWorkerName() {
        return workerName;
    }

    public void setWorkerName(String workerName) {
        this.workerName = workerName;
    }

    public void setMesWorkWorkerUuid(String mesWorkWorkerUuid)
    {
        this.mesWorkWorkerUuid = mesWorkWorkerUuid;
    }

    public String getMesWorkWorkerUuid() 
    {
        return mesWorkWorkerUuid;
    }
    public void setFkMesWorkUuid(String fkMesWorkUuid) 
    {
        this.fkMesWorkUuid = fkMesWorkUuid;
    }

    public String getFkMesWorkUuid() 
    {
        return fkMesWorkUuid;
    }
    public void setOrderNum(String orderNum) 
    {
        this.orderNum = orderNum;
    }

    public String getOrderNum() 
    {
        return orderNum;
    }
    public void setFkUserIdWorker(String fkUserIdWorker) 
    {
        this.fkUserIdWorker = fkUserIdWorker;
    }

    public String getFkUserIdWorker() 
    {
        return fkUserIdWorker;
    }
    public void setQuotaWorkingHours(BigDecimal quotaWorkingHours) 
    {
        this.quotaWorkingHours = quotaWorkingHours;
    }

    public BigDecimal getQuotaWorkingHours() 
    {
        return quotaWorkingHours;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("mesWorkWorkerUuid", getMesWorkWorkerUuid())
            .append("fkMesWorkUuid", getFkMesWorkUuid())
            .append("orderNum", getOrderNum())
            .append("fkUserIdWorker", getFkUserIdWorker())
            .append("quotaWorkingHours", getQuotaWorkingHours())
            .toString();
    }
}
